package com.weds.edjk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author zcz
 * @Description 考勤记录实体
 * @Date 2020-6-11
 */
public class KtRecordEntity extends BaseEntity implements Serializable {


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "string", example = "2020-06-06 17:35:20", value = "")
    private Date sj;

    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer userSerial;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer bh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Short fx;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer lx;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer yich;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String iden;

    /**
     *
     */
    @Size(max = 7)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String devSerial;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Short devState;

    /**
     *
     */
    @Size(max = 40)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String jlzpSerial;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String glyNo;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer shenhe;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Long devLogicBh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Short dealState;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String recordno;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String jcard;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String doorState;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer jlType;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String _long;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String lat;

    /**
     *
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String address;

    /**
     *
     */
    @Size(max = 200)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String doorName;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String bodyTemp;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer healthStatus;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String sensorTemp;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String tempError;

    /**
     *
     */
    @Size(max = 20)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String faceLocation;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String lowTemp;

    /**
     *
     */
    @Size(max = 10)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String highTemp;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer tempType;
    /**
     * 设备名称
     */
    private String mc;
    /**
     * 档案图片
     */
    private String photoPath;
    /**
     * 用户名称
     */
    private String userLname;

    public String getUserLname() {
        return userLname;
    }

    public void setUserLname(String userLname) {
        this.userLname = userLname;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    /**
     */
    private static final long serialVersionUID = 1L;

    private String keys;


    private String frameUrl;


    public String getFrameUrl() {
        return frameUrl;
    }

    public void setFrameUrl(String frameUrl) {
        this.frameUrl = frameUrl;
    }

    /**
     * This method returns the value of the database column kt_jl.sj
     *
     * @return the value of kt_jl.sj
     */
    public Date getSj() {
        return sj;
    }

    /**
     */
    public KtRecordEntity withSj(Date sj) {
        this.setSj(sj);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.sj
     *
     * @param sj the value for kt_jl.sj
     */
    public void setSj(Date sj) {
        this.sj = sj;
    }

    /**
     * This method returns the value of the database column kt_jl.user_serial
     *
     * @return the value of kt_jl.user_serial
     */
    public Integer getUserSerial() {
        return userSerial;
    }

    /**
     */
    public KtRecordEntity withUserSerial(Integer userSerial) {
        this.setUserSerial(userSerial);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.user_serial
     *
     * @param userSerial the value for kt_jl.user_serial
     */
    public void setUserSerial(Integer userSerial) {
        this.userSerial = userSerial;
    }

    /**
     * This method returns the value of the database column kt_jl.bh
     *
     * @return the value of kt_jl.bh
     */
    public Integer getBh() {
        return bh;
    }

    /**
     */
    public KtRecordEntity withBh(Integer bh) {
        this.setBh(bh);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.bh
     *
     * @param bh the value for kt_jl.bh
     */
    public void setBh(Integer bh) {
        this.bh = bh;
    }

    /**
     * This method returns the value of the database column kt_jl.fx
     *
     * @return the value of kt_jl.fx
     */
    public Short getFx() {
        return fx;
    }

    /**
     */
    public KtRecordEntity withFx(Short fx) {
        this.setFx(fx);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.fx
     *
     * @param fx the value for kt_jl.fx
     */
    public void setFx(Short fx) {
        this.fx = fx;
    }

    /**
     * This method returns the value of the database column kt_jl.lx
     *
     * @return the value of kt_jl.lx
     */
    public Integer getLx() {
        return lx;
    }

    /**
     */
    public KtRecordEntity withLx(Integer lx) {
        this.setLx(lx);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.lx
     *
     * @param lx the value for kt_jl.lx
     */
    public void setLx(Integer lx) {
        this.lx = lx;
    }

    /**
     * This method returns the value of the database column kt_jl.yich
     *
     * @return the value of kt_jl.yich
     */
    public Integer getYich() {
        return yich;
    }

    /**
     */
    public KtRecordEntity withYich(Integer yich) {
        this.setYich(yich);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.yich
     *
     * @param yich the value for kt_jl.yich
     */
    public void setYich(Integer yich) {
        this.yich = yich;
    }

    /**
     * This method returns the value of the database column kt_jl.iden
     *
     * @return the value of kt_jl.iden
     */
    public String getIden() {
        return iden;
    }

    /**
     */
    public KtRecordEntity withIden(String iden) {
        this.setIden(iden);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.iden
     *
     * @param iden the value for kt_jl.iden
     */
    public void setIden(String iden) {
        this.iden = iden;
    }

    /**
     * This method returns the value of the database column kt_jl.dev_serial
     *
     * @return the value of kt_jl.dev_serial
     */
    public String getDevSerial() {
        return devSerial;
    }

    /**
     */
    public KtRecordEntity withDevSerial(String devSerial) {
        this.setDevSerial(devSerial);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.dev_serial
     *
     * @param devSerial the value for kt_jl.dev_serial
     */
    public void setDevSerial(String devSerial) {
        this.devSerial = devSerial;
    }

    /**
     * This method returns the value of the database column kt_jl.dev_state
     *
     * @return the value of kt_jl.dev_state
     */
    public Short getDevState() {
        return devState;
    }

    /**
     */
    public KtRecordEntity withDevState(Short devState) {
        this.setDevState(devState);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.dev_state
     *
     * @param devState the value for kt_jl.dev_state
     */
    public void setDevState(Short devState) {
        this.devState = devState;
    }

    /**
     * This method returns the value of the database column kt_jl.jlzp_serial
     *
     * @return the value of kt_jl.jlzp_serial
     */
    public String getJlzpSerial() {
        return jlzpSerial;
    }

    /**
     */
    public KtRecordEntity withJlzpSerial(String jlzpSerial) {
        this.setJlzpSerial(jlzpSerial);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.jlzp_serial
     *
     * @param jlzpSerial the value for kt_jl.jlzp_serial
     */
    public void setJlzpSerial(String jlzpSerial) {
        this.jlzpSerial = jlzpSerial;
    }

    /**
     * This method returns the value of the database column kt_jl.gly_no
     *
     * @return the value of kt_jl.gly_no
     */
    public String getGlyNo() {
        return glyNo;
    }

    /**
     */
    public KtRecordEntity withGlyNo(String glyNo) {
        this.setGlyNo(glyNo);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.gly_no
     *
     * @param glyNo the value for kt_jl.gly_no
     */
    public void setGlyNo(String glyNo) {
        this.glyNo = glyNo;
    }

    /**
     * This method returns the value of the database column kt_jl.shenhe
     *
     * @return the value of kt_jl.shenhe
     */
    public Integer getShenhe() {
        return shenhe;
    }

    /**
     */
    public KtRecordEntity withShenhe(Integer shenhe) {
        this.setShenhe(shenhe);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.shenhe
     *
     * @param shenhe the value for kt_jl.shenhe
     */
    public void setShenhe(Integer shenhe) {
        this.shenhe = shenhe;
    }

    /**
     * This method returns the value of the database column kt_jl.dev_logic_bh
     *
     * @return the value of kt_jl.dev_logic_bh
     */
    public Long getDevLogicBh() {
        return devLogicBh;
    }

    /**
     */
    public KtRecordEntity withDevLogicBh(Long devLogicBh) {
        this.setDevLogicBh(devLogicBh);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.dev_logic_bh
     *
     * @param devLogicBh the value for kt_jl.dev_logic_bh
     */
    public void setDevLogicBh(Long devLogicBh) {
        this.devLogicBh = devLogicBh;
    }

    /**
     * This method returns the value of the database column kt_jl.deal_state
     *
     * @return the value of kt_jl.deal_state
     */
    public Short getDealState() {
        return dealState;
    }

    /**
     */
    public KtRecordEntity withDealState(Short dealState) {
        this.setDealState(dealState);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.deal_state
     *
     * @param dealState the value for kt_jl.deal_state
     */
    public void setDealState(Short dealState) {
        this.dealState = dealState;
    }

    /**
     * This method returns the value of the database column kt_jl.recordno
     *
     * @return the value of kt_jl.recordno
     */
    public String getRecordno() {
        return recordno;
    }

    /**
     */
    public KtRecordEntity withRecordno(String recordno) {
        this.setRecordno(recordno);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.recordno
     *
     * @param recordno the value for kt_jl.recordno
     */
    public void setRecordno(String recordno) {
        this.recordno = recordno;
    }

    /**
     * This method returns the value of the database column kt_jl.jcard
     *
     * @return the value of kt_jl.jcard
     */
    public String getJcard() {
        return jcard;
    }

    /**
     */
    public KtRecordEntity withJcard(String jcard) {
        this.setJcard(jcard);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.jcard
     *
     * @param jcard the value for kt_jl.jcard
     */
    public void setJcard(String jcard) {
        this.jcard = jcard;
    }

    /**
     * This method returns the value of the database column kt_jl.door_state
     *
     * @return the value of kt_jl.door_state
     */
    public String getDoorState() {
        return doorState;
    }

    /**
     */
    public KtRecordEntity withDoorState(String doorState) {
        this.setDoorState(doorState);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.door_state
     *
     * @param doorState the value for kt_jl.door_state
     */
    public void setDoorState(String doorState) {
        this.doorState = doorState;
    }

    /**
     * This method returns the value of the database column kt_jl.jl_type
     *
     * @return the value of kt_jl.jl_type
     */
    public Integer getJlType() {
        return jlType;
    }

    /**
     */
    public KtRecordEntity withJlType(Integer jlType) {
        this.setJlType(jlType);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.jl_type
     *
     * @param jlType the value for kt_jl.jl_type
     */
    public void setJlType(Integer jlType) {
        this.jlType = jlType;
    }

    public String get_long() {
        return _long;
    }

    public void set_long(String _long) {
        this._long = _long;
    }

    /**
     */
    public KtRecordEntity withLong(String _long) {
        this.set_long(_long);
        return this;
    }



    /**
     * This method returns the value of the database column kt_jl.lat
     *
     * @return the value of kt_jl.lat
     */
    public String getLat() {
        return lat;
    }

    /**
     */
    public KtRecordEntity withLat(String lat) {
        this.setLat(lat);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.lat
     *
     * @param lat the value for kt_jl.lat
     */
    public void setLat(String lat) {
        this.lat = lat;
    }

    /**
     * This method returns the value of the database column kt_jl.address
     *
     * @return the value of kt_jl.address
     */
    public String getAddress() {
        return address;
    }

    /**
     */
    public KtRecordEntity withAddress(String address) {
        this.setAddress(address);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.address
     *
     * @param address the value for kt_jl.address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * This method returns the value of the database column kt_jl.door_name
     *
     * @return the value of kt_jl.door_name
     */
    public String getDoorName() {
        return doorName;
    }

    /**
     */
    public KtRecordEntity withDoorName(String doorName) {
        this.setDoorName(doorName);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.door_name
     *
     * @param doorName the value for kt_jl.door_name
     */
    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    /**
     * This method returns the value of the database column kt_jl.body_temp
     *
     * @return the value of kt_jl.body_temp
     */
    public String getBodyTemp() {
        return bodyTemp;
    }

    /**
     */
    public KtRecordEntity withBodyTemp(String bodyTemp) {
        this.setBodyTemp(bodyTemp);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.body_temp
     *
     * @param bodyTemp the value for kt_jl.body_temp
     */
    public void setBodyTemp(String bodyTemp) {
        this.bodyTemp = bodyTemp;
    }

    /**
     * This method returns the value of the database column kt_jl.health_status
     *
     * @return the value of kt_jl.health_status
     */
    public Integer getHealthStatus() {
        return healthStatus;
    }

    /**
     */
    public KtRecordEntity withHealthStatus(Integer healthStatus) {
        this.setHealthStatus(healthStatus);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.health_status
     *
     * @param healthStatus the value for kt_jl.health_status
     */
    public void setHealthStatus(Integer healthStatus) {
        this.healthStatus = healthStatus;
    }

    /**
     * This method returns the value of the database column kt_jl.sensor_temp
     *
     * @return the value of kt_jl.sensor_temp
     */
    public String getSensorTemp() {
        return sensorTemp;
    }

    /**
     */
    public KtRecordEntity withSensorTemp(String sensorTemp) {
        this.setSensorTemp(sensorTemp);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.sensor_temp
     *
     * @param sensorTemp the value for kt_jl.sensor_temp
     */
    public void setSensorTemp(String sensorTemp) {
        this.sensorTemp = sensorTemp;
    }

    /**
     * This method returns the value of the database column kt_jl.temp_error
     *
     * @return the value of kt_jl.temp_error
     */
    public String getTempError() {
        return tempError;
    }

    /**
     */
    public KtRecordEntity withTempError(String tempError) {
        this.setTempError(tempError);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.temp_error
     *
     * @param tempError the value for kt_jl.temp_error
     */
    public void setTempError(String tempError) {
        this.tempError = tempError;
    }

    /**
     * This method returns the value of the database column kt_jl.face_location
     *
     * @return the value of kt_jl.face_location
     */
    public String getFaceLocation() {
        return faceLocation;
    }

    /**
     */
    public KtRecordEntity withFaceLocation(String faceLocation) {
        this.setFaceLocation(faceLocation);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.face_location
     *
     * @param faceLocation the value for kt_jl.face_location
     */
    public void setFaceLocation(String faceLocation) {
        this.faceLocation = faceLocation;
    }

    /**
     * This method returns the value of the database column kt_jl.low_temp
     *
     * @return the value of kt_jl.low_temp
     */
    public String getLowTemp() {
        return lowTemp;
    }

    /**
     */
    public KtRecordEntity withLowTemp(String lowTemp) {
        this.setLowTemp(lowTemp);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.low_temp
     *
     * @param lowTemp the value for kt_jl.low_temp
     */
    public void setLowTemp(String lowTemp) {
        this.lowTemp = lowTemp;
    }

    /**
     * This method returns the value of the database column kt_jl.high_temp
     *
     * @return the value of kt_jl.high_temp
     */
    public String getHighTemp() {
        return highTemp;
    }

    /**
     */
    public KtRecordEntity withHighTemp(String highTemp) {
        this.setHighTemp(highTemp);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.high_temp
     *
     * @param highTemp the value for kt_jl.high_temp
     */
    public void setHighTemp(String highTemp) {
        this.highTemp = highTemp;
    }

    /**
     * This method returns the value of the database column kt_jl.temp_type
     *
     * @return the value of kt_jl.temp_type
     */
    public Integer getTempType() {
        return tempType;
    }

    /**
     */
    public KtRecordEntity withTempType(Integer tempType) {
        this.setTempType(tempType);
        return this;
    }

    /**
     * This method sets the value of the database column kt_jl.temp_type
     *
     * @param tempType the value for kt_jl.temp_type
     */
    public void setTempType(Integer tempType) {
        this.tempType = tempType;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }
}